package com.atguigu.gmall.payment;

import com.atguigu.gmall.common.config.interceptor.annotation.EnableRequestHeaderInterceptor;
import com.atguigu.gmall.rabbit.annotation.EnableAppRabbitAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author:lyd
 **/
@SpringCloudApplication
@EnableFeignClients(basePackages = "com.atguigu.gmall.feign.order")
@EnableRequestHeaderInterceptor
@EnableAppRabbitAutoConfiguration
public class ServicePaymentApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServicePaymentApplication.class, args);
    }
}
